JS compilation and concatenation