fix reveal for jquery 1.9 and put the click handler in document.ready