added fallback.js
major changes