Closes #530
https://github.com/winjs/winjs/issues/530