make browserify compatible

add browser mapping for type to type-component