Fixes for new Chrome version 29+