Finished js Validation