Read this blog to know about How to Debug code in Javascript.

Read More  
I BUILT MY SITE FOR FREE USING