add a group() call in the compilation test
call javascript variable thru ['foo'] notation rather than .foo in case of non-standard characters, eg: ~ etc.