Dialog

JSHint allows this to pass. It looks like this is a feature planned for JSHint 3. You could catch this by adding the 'es3:true' option but that could be too strict and break things.

https://github.com/jshint/jshint/issues/136

Thanks for the catch though