Js validator library for study