mobile redirect javascript and controlpanel setting