Fixes for Chrome 27