Fix conflicts in JS variable calling in hide and unhide.
Merge pull request #31 from thelabtech/PR-1

Fix conflicts in JS variable calling in hide and unhide.