corrected resolving of relative jqm pages and redirect routes. Related to #150.