tags.frame: only run OnLoad if it exists
tags.scripts: only wrap inline scripts, just append '(...)' to function specifications