fixed a typo and cleaned up my code in MagicNums.js