I did some code linting on the file

Variables were declared in a few different ways, so I changed the code to only use one flavor.
Double equals were changed to triple equals, because more is better.