allow also single-quotes in both JS and XML style directives