Add js for the article/page tree