use github-hosted js files

- switch away from rawgit
- add appropriate attributes to handle hosting
  from rawgithub directly