added js_settings for pg_desktop