Some more tests for panel switching
Added a globalHacks module to add functionality to existing Javascript hierarchy