Update prototype to fix #1384

https://prototype.lighthouseapp.com/projects/8886/tickets/1384