fix local mathjax with custom base_project_url

closes #2720