fix jslint errors and disable noty