fix for GRAILS-10507: g:javascript didn't default to js-encoding with resource plugin
Merge branch '2.3.x'