tweaked general coding style for use strict