securimg input validation client side