Fix compatibility with Roundcube 1.4
Fixes missing variable and makes dark mode included conditionally.