Move init function to bottom of HTML page
Remove superfluous position variables and functions
Clean up SiteApp JS module
Optimize SiteApp JS module

Also add comments
Merge pull request #1 from bergenhem/js-module-fixes

Optimize and fix SiteApp JS module
Merge remote-tracking branch 'upstream/master' into card-flip