Some code clean up

call "use strict" option in function