How to debug javascript.????

How to debug javascript.????

 Hi I have added jarallax, and everything was working fine, but after few changes jarallax animation got stuck and now I have comment back everything and remove the codes but still things not working like before. this is the test link here I have added jarallax animation on blue div on screen which is showing output and screen resolution, I did my coding in animation.js in line no 180.