made everything ready for browserify

..webworkers pending
made everything ready for browserify

..webworkers pending
made worker work with browserify