some order in function for jmvc and JMVC.dom.ready fix as the dom is already loaded