Fixed up some commenting in the javascript