playing with js dynamic addclasses for image size