Javascript ATM!

:atm:  Submitting the code, it does everything it needs to, but I'd like to continue making it more dry.