Split out view into separate js file
Merge pull request #9 from liouh/master

Update gh-pages