add resources to all.js