Updated syntax for curl of jQuery