Jslint check and style changes