Added var declaration and 'use strict'