fix jslint-warnings