<script>
	function foo() {}
	function bar() {}
</script>

<div out:foo out:bar>...</div>