Added strict mode

Added "use strict" at the start of the scripts