Just make sure you only open htm files and not js ones (_functions.js, _game.js). You need to edit those kinds of files in a normal editor.