formatting

removed console.log :/
shorthand variable decalration
spaces if else statement