Cleanup JS to reuse a couple cached elements
Merge pull request #4 from washingtonstateuniversity/js-cleanup

[PR] Cleanup JS to reuse a couple cached elements