[Issue #12] Compatible with magento CE1.8 EE1.13. Csrf disabled if ajax is disabled too.