Update rhubarb.js with function to pass HTML to view