clean up for mobile centre js: Fixed: #727