v2.1 iPhone mode bug fixes (css name space, offline auth check)