Reformatted code and used the function form of 'use strict'. Ref #34