Added functions and comments to viewer.js.
Cleaned up swap files.
Merge pull request #3 from Jamrocklord/master

Merge pull request #2 from StevePavlin/master
Merge pull request #3 from StevePavlin/master

New files