Legacy Browser Fixes

Fixes for https://github.com/concrete5/concrete5-5.7.0/issues/671
Ah