better json require
Merge branch 'v3' of github.com:azer/onejs into v3