Fix browerify issues