Created Ajax script(can embed only 2 images, needs fix)