Renamed variables

Used @elem for the HTML element in classes