refactor: satisfy jslint

most of the tasks ...