Fix some require calls so browserify can resolve them