Update smartMorning.js

Quick refactoring to remove unused variables