syntax

checked using jslint