'use strict' and code wrapping within anonymous function completed. Enhancement #11 and #12