Fix javascript issues:
- fix colorbox not opening
- fix pageslide closing
- close medialibrary when clicking again on the button
- use custom juqery more easily
add newsletter button not displayed if no newsletter templates defined