This is javascript related issue and I don't use javascript at all. I'm sorry.
If you want to debug a web page with javascript, save the page as .html file, modify the file and open it in the browser. After every change in the .html file just refresh the browser to see result.