Added failover for CDN loaded script files

Need to make require.js loaded by the server