Avoiding TypeError message when the input is empty and some key (like Backspace) is pressed
Merge pull request #100 from wcomnisky/master

Fix TypeError message: moment(...) is null