start of setup in js