#2323 Added button and data for adding_to_cart JS event

Described here

https://github.com/woothemes/woocommerce/issues/2323