bumped jQuery to 1.10.2 and fixed unidiomatic JS