Whitespace
Fix variable declaration scope

Also removes comments, which for some reason break
the JS.