Bug 1018132: Fixing broken JavaScript declaration that broken Disocvery
page rendering.
Merge pull request #3181 from ehelms/bug-1018132

Bug 1018132: Fixing broken JavaScript declaration that broken Disocvery