first draft of javascript completed
Merge pull request #2 from ichibangaijin/master

first draft of javascript completed