weird things happening with setup.js