add browser field to package.json for client support

- adds browser field to package.json to handle type module
- pins type module
- remove try-catch hack for loading module