'var' keyword missed

Added 'var' keyword which are required by strict mode