Update index.js

More Windows Phone 8 debug