Make JS compilation work