Debug jquery table building