refs #1661 : added - Javascript mime type
 - contributed by outsideris