Alpha betafix

Fixes js issue with click handler.