Fix mobile safari issues, v0.1.6