Fixes up Safari issues. Adds content class