refactored hideOnLoad
Merge pull request #1236 from opf/fix/prototypify_hol

[prototype->jQuery]  Refactored hideOnLoad