add js fix for wp8