Added client-side file validator
Added client-side file validator js