Found some lint issues for this file.
Please help run gjslint before checking in the code. Thanks.