[object Event]

Pulling out src of script element