adds more code for setup of js