moved getResourceStream to util class, JavaScriptServlet now uses same method as CsrfGuardServletContextLister to read files