[fix] jslint informed some tiny fixes