I’m annoyed

How do I add javascript to a page?

I've tried adding it to a page in an HTML block, with script tags, but it just throws up loads of errors.

The line of code is just
iconicMenu.useMap = "#iconicmap";

I would add the use map directly to the img tag but webstore seems to think that img doesn't have an element called usemap.
3 people have
this question