more Javascript and commenting :D

re-remembering this shit :D