Fix broken javascript

The custom overlay trigger was still based on the assumtion that
plone is running an ancient jquery version which is no longer true