JS added for centering images