simple port to html / js
Merge pull request #1 from jeffdean-galvanize/js

simple port to html / js