Updates for naming changes in Chrome and FF.

This PR makes Tuna function again with the changes in Chrome 36 (and the implementation in Firefox).