Slight simplification of jQuery codez