Convert code to comply to .jshintrc and Ghost coding style.