JSLint Correcttion

Correct codes to with JSLint,