fix to quotes js PUT method