Fix missing semicolons.
Switch increment method to appease JSHint.
Appease JSHint by not using a one-liner.
Remove duplicated function name.
Use a new variable to contain message.
Re-use existing match variable.
Fix trailing whitespace.
Switch to using property syntax instead of dictionary syntax.
Add comment and JSHint config regarding not using ===.
Update variable to self.$modal.
Merge branch 'grunt-bower-karma' of github.com:plone/mockup into grunt-bower-karma