more refactoring in _javascript.html.erb to make more use of Prototype syntax
more refactoring in _javascript.html.erb to make more use of Prototype syntax

byran/cyber-dojo-web,cyber-dojo/web,byran/cyber-dojo-web,cyber-dojo/web,byran/cyber-dojo-web,byran/cyber-dojo-web,byran/cyber-dojo-web,byran/cyber-dojo-web,cyber-dojo/web,byran/cyber-dojo-web,byran/cyber-dojo-web,byran/cyber-dojo-web,cyber-dojo/web