JSLinted
Merge pull request #19 from MikeTschudi/master

Tweaked files to pass JSLint
Update template.js

Retrieve the bing key from the organization if one is specified.