switch alert to console.error for fail to load webworks.js