tweak ajax code to improve events#show page
Merge branch 'master' into ajax_adjustments