Javascript Enhanced Data Input Validator