hack up support for 'glue' phase in js compiler, to just generate glue for backend output