Fix building JS