more fixes/improvements to js client
make canvas resizable, resize whenever window resizes
small followon fixes to last commit
move recaptcha pub key to central js config