Two Array Merge Javascript Form Validation Library