Add Javascript Validation

Add Javascript Validation