Bug 637572 - Allow the element on which a script was defined to be passed as compile option; r=jimb