broken JS compilation