fixes to javascript tabs, and removed an empty comment