jslint and format cleanup