created browserify compatible module called cloak-browserify and reuiqred it in this project.  removed local version of this shim