Cleanup Javascript, add hover style