Script definitions must be top-level, however script literals don't necessarily