Revert "Update autocart.js"

This reverts commit beca7274082026c4eef07123188afdbe4b10fdec.