core: Fixes IE problems in zotonic js