Fixed elements not in the dom error because loaded globally. Now the js is spread in the appropriate files.