Add application/javascript to text types

Javascript code also needs charset HTTP header to correctly use UTF-8 strings. This patch adds 'application/javascript' to list of additional text types in MimeTypes class