CB-6976 Add support for Windows Universal apps (Windows 8.1 and WP 8.1)
Adds support for build archs to run command
 + small cleanup and refactoring
 + fix jshint issues