Crude port of brejep ash-js to use browserify instead of requirejs