fix jquery reference for mercury