Equation fixed, parseInt added to variables.
Comments added to variables.
Yearly total variable added and tested.
Final variable and alert added.
Comments added.
Console logs added after every variable.
Comments added after console logs. Also added missing semicolons after console logs.