Legibility improved based on JSLint test

Change the code to pass the test JSLint. I hope this will help.