Move Ext.onReady from js to the home controller

AjaxManager compatibility fix