made javascript use strict mode