added light js and added light listener