Fix require path
Add browser specs