Update Main.js

little fix(rename variable)