parse transform for separate js compilation and macros