update modify extension

if there is no lazyData, return cache directly due to performance issue
update code format
Merge branch 'master' of https://github.com/oria/gridx