fix "code climate" static analyze issues.

* use "==="
* fix undefined var
* missing semicolon
* remove japanese charactors
and more