Link light variables from js to html