Finally got the button working via AJAX. Learned some swanky new debug tools in chrome for debugging responses