Removed old js
Removed duplicate gon include
moved falsification of mobile.ajaxEnabled in old_check