Initial code cleanup base on jslint

Reviewer: Tiff Go

Issues: None