Add browser-main hook to package.json