instead of having $(label) in three spots you should assign it to a variable at the top. e.g. 

```javascript
label = $(label);
```