reorganized includeing javascript (previously multiple times)
fixed the use of the image "right.png" which was using a fixed path instead of the image_tag function