Enable use external javascript file. GH-31
Merge pull request #31 from gongo/issues/31

Use external javascript file.