Fix #52; add javascript validation to recipe input form