wip: Add jshintrc, fix some errors and add worker listeners