add use strict mode for js