[prototype->jQuery]  Refactored hideOnLoad

This refactoring helps to remove remaining prototype code.