Fixing js comments and variable declarations.