Updated for node to allow error arg in callback. Breaks jQuery support.