fixed: jslint errors