Linted Fork

Other than that, I hadn’t really done a whole lot. Added ‘use strict’;.
Added brackets and semicolons where needed.