Revert "update WebViewer javascript code to latest from Bob Haimes (dated 10/25/2013)"

This reverts commit 1551fe78836c5d46c7ad763bf823596681f26f15.