updated Code Style for supporting JSLint