small extension to restws drupal module that allow CORS ajax calls