Added es5 'use strict'

Added EcmaScript 5 'use strict' so that the code runs in strict mode.