ref#202 Adding validate js lib