Update Javascript in Generate Customer