BZFlag add javascript events back into application baseline. Closes #2972