Remove unnecessary javascript and update img css.