Improve compatibility support when Prototype is used along with jQuery