Fixed the build for vs2013
Updated samples hubs.js version