Different behaviour based on the type of element

If the element is an <input>: add a parser, else: listen to the
changeTime event of the timepicker

Closes #5