[CLEANUP] JSHinting the code.