adding use strict
small documentation fix for transaction example