adding ajax behaviours in the assets view of the rich text editor