Added JS to preview pages on hover