jQuery erroring when using .split : I am trying to split this string down into sections:
2 h 3 12 s

From this I am trying to create a longer string such as:

00020312
DDHHMMSS

I am getting an error on line 3:
Cannot read property split of undefined

```
if(hasHours[1] === undefined){
						var downTimeH = downTime.split(" h")[0];
						downTime = downTime.split(" h ")[1];
						if(downTimeH <=9){
							downTimeH = downTimeH.toString(downTimeD);
							downTimeH = '0' + downTimeH;
                        };
					}
```