Updated to use jQuery function to create divs

Was creating divs using plain strings, changed it to use jQuery because that seems like a better idea?