fail gracefully if gon not loaded on some pages

Right now backlogs is trying to initiate itself if the backlogs module is enabled. However querying for this fails on pages that do not have gon loaded.
@ulferts AFAIK, this is fine – fully idiomatic JS.