marcosesperon/Messi — pull request #10 by castus (2012-10-03 08:43:29+00:00)
Title: Add check if options is defined

There was no options, so options.btnText raises error. Add checking if options is defined.
I only use alert, but suppose in the rest functions should do the same.