Merge "ref: Implement trace control in javascript."