Made public the 2 success/failure callback so that it can be overriden by the user
Pimped the demo a bit by using jquery + Css + overriding the 2 callbacks