js to remove height attr on slide images