added js validation for ne device