A helper for squash.js Ajax call