Changes to pass jshint.

Simple changes but now my tests don't scream at me as much :+1:  
Also updated jquery to 1.10.2 and the demos to reflect.