passes jslint validation