There doesn't seem to be a method in WinJS that does this.
Given the small number of special characters, I'd just hardcode those. To get the list, simply try to rename a file to file?.txt
in Windows Explorer. It shows you the list of invalid characters:
\ / : * ? " < > |