[jshint] alter linting config
[minor] fix worker code