Fixed errors in my javascript.
Merge pull request #12 from b91961/master

Fixed items in javascript.