fixed bug jquery 1.9

Signed-off-by: loopasam <samuel.croset@gmail.com>