Moves JS actions back to product js from UPP
Changes UPP controller to only allow new preference creation if an existing preference does not exist. Changes UF controller to destroy a friendship only if it exists.