Contact validation engine in nodejs