add closeAfter attr to alert
fix js warnings
allow data-method option, so you can create links for options besides get