change appointment coffee back to js