diff --git a/docs/index.js b/docs/index.js
index <HASH>..<HASH> 100644
--- a/docs/index.js
+++ b/docs/index.js
@@ -126,6 +126,9 @@ Docs.getExtension = function(path){
 		case 'ico':
 			contentType = 'image/' + extension;
 			break;
+		case 'js':
+			contentType = 'application/javascript';
+			break;
 		default:
 			contentType += extension;
 	}
fixed javascript mime type issue