Added some js rules
Client side validation in progress