start implement javascript win8 generator