Repair js-tests for correct building on WP8
Repair js-moonwarriors for correct building on WP8