Don't set js errors unless needed

true is the default, so we don't need to set it unless the user has
specified the js_errors option.