Changed from rawgithub.com to rawgit.com, saves a redirect and removed unnecessary code duplication