passing jslint and adding logger