Disable Routing in JS-scripts