fix(win8): better way to detect win8-js apps