add KeyModule example to browser
remove constructor params in browser version of KeyModule