adding new divs, fixing js to use jquery