Added jQuery to handle hit and stay