remove some jslint errors from backend