how do you know it's empty? - uhhhhhh convert to json string and compare the length?- uhh use jquery?- copy/paste this one weird hack! library authors hate him