Feat: Js validations

Add validation of time_spent value using coffee script.
If time_spent is not present, or invalid Add button is
disabled and appropriate error is shown if this
continues on blur event.
@papricek