Update serviceBase.js

add comment version of refactor