[WIP] Ampersand/Browserify rewrite