button and keys should now work with js generated DOM