Editor with ajax

1. Added new script with ajax-requests.
2. Added showErrorMessage function.