fix(router): Use official javascript content type

application/x-javascript is obsolete and shouldn't be used. http://stackoverflow.com/a/9664327
LGTM.