passed jslint strict mode