Related resources for how to console error in javascript