Adding a clear button to Drupal form API text field