Fixed bugs in getChildrenJSON
Style improvements for load doc and add/edit tag