Have you tried putting this in the .js.tcl part of the file?
ns_adp_mime "text/javascript"
cheers, Ben