inital js work