Fix default jshint warnings for webtrees.js
Declare some more variables in function scope in webtrees.js
Merge pull request #112 from mnoorenberghe/jshint_webtrees

Fix some JSHint warnings and other minor fixes