libTroxel markup api: listen on document ready