Fixed some JS syntax and SCSS