Refactor module.js API to move success and error callbacks to first and second params. Our params will follow.