Test Suite for Win VM

Test Suite for Win VM and code change for JSHint
Code coverage is 71% for vm._js