Added some comments and "use strict"