access origin and more main.js stuff