Fixed missing semi-colons and trailing whitespace.
Prevented default event from firing on choose all / clear all links.