added treediagram to application.js