Renewed main light.js