Fixed the issue of success getting called twice and iframe cleanup.

Fixed two issues.
1) Success callback being called twice. It's a safari/webkit issue if onload is attached before appending the child to the DOM.
2) iframe elements used to POST the form was not being cleaned up.
Merge pull request #1 from venkatagiri/master

Fixed the issue of success getting called twice and iframe cleanup.