more html fixes and add safari webkit prefixes