JS is loading but only one div id is working