Fixing JS build