improve Windows Phones and remove Spec.js dependency