Working in browserify (ish)