compatibility with <r:script> grails tags