[function] is not defined... but works outside of page?

Printable View