modified version of the Jquery FileTree plugin