Final commit for my comments and this project as I have commented all lines and the code seems to work for me in different browsers.