Beautified the code according to PR#10

According to PR snaptortoise/konami-js#10 (b2bc5d784f4cd2187528c127604bbe7ab34bfc65)
Merge pull request #12 from phy25/patch-2

Beautified the code according to PR#10 (same as #11)