js and css variables to protected