add javascript code
adaptive image changes