Just tidying up the code to adhere to the jshint and jscs