Beautified the code according to PR#10

According to PR snaptortoise/konami-js#10 (b2bc5d784f4cd2187528c127604bbe7ab34bfc65)