Variables were renamed according to JS Code Conventions