Fix js strict-mode error.

These commits are fixed some js strict-mode error.