Warning fixes(after chaking on jshint.com)

added semicolon , changed == to ===