Move resources under to ~/ prefix, load math js only for pages that have math, friendlier format for time elapsed