added javascript version :)
js version completely done
some front end work
Merge pull request #1 from jlamere/javascript

Javascript file added