installing js code for wp8