use correct mime-type shortcut

the `mime-types` module has no shortcut named 'javascript', use 'js' instead