Yeah, but serving JS is almost always a code smell unless you do cross-domain XHR.