Unbreaking the transam.js file