Browserifyied and total rewrite