Allow param to set ajax cart method
Rearange method param check
Merge pull request #182 from Shopify/ajax-cart-demos

Allow param to set ajax cart method