Fix coding style

Move the invocation (jQuery) into the parens that contain the function.
Use consistent style for IIFEs.