Fix issue when using jQuery & Prototype at the same time

@kenearley 

An easy existential operator addition fixes #1165.