i set in config: add_header Content-Type 'text/javascript; charser=UTF-8';
and i get headers:
HTTP/1.1 200 OK
Server: nginx/0.8.52
Content-Type: application/x-javascript
Content-Type: text/javascript; charset=UTF-8
Browser see only first Content-Type
PS: I use apatch+nginx