Use each instead of collection helper
Fix up vendor scripts
Add localforage to globals