Set varibales in local storage and some linting