Ajax loader for inputs