Fixed require_tree . problem that was adding the JQuery Mobile js to all pages