github hosts html and javascript for opensource repositories through its pages infrastructure. To use this create a gh-pages branch. I also suggest making that the default branch in the repository settings/branches.