regenerate js