improve docs; add JSON polyfill