Initialising BG on dom ready