Jquery Plugin shows alert when completed