Added workaround for prototype.js