REmove logging and fix html5 equations