[jQuery] Greybox demo throws JS errors

[jQuery] Greybox demo throws JS errors

> Whoops, I forget to remove some lines I used for debugging, here is the