add javascript receit computation