moves lights into light.js