thumb js fix