set vars for ids in main.js