fixed js on user contract