add support for use strict with and without a trailing semicolon