fix(Service): added jshint and fixed some warnings