- [ ] Content Type needed to avoid strict MIME type checking. See this file in Portal for usage. This is needed in the bbcode and creole configs as well.
```
<%@ page import="com.liferay.portal.kernel.util.ContentTypes" %>
...
response.setContentType(ContentTypes.TEXT_JAVASCRIPT);
```