JSLint / JSHint issues solved. [Part 1]