fix local mathjax with custom base_project_url

closes #2720
Merge pull request #3528 from minrk/staticbase

fix local mathjax with custom base_project_url