added package.json for browser
added inherits