added alertify, fixes #12, fixes #16