fix server side render

on devices listet in $config['cops_server_side_render'] a blank page was shown and apache error log reported all to undefined function getJson() in index.php