Javascript validating on paste textbox carbon dating artwork