javascript changed for fix image size issue on listing