added javascript validation library. Started adding rules for fields on input form