Cart js and controllert correct