Support for rails ajax form submissions