Include the version number in the javascript.
Merge pull request #1051 from gunn/patch-1

Include the version number in the javascript.