example with jquery-1.9.1

here is the fix for running the examples with jquery-1.9.1