Add ajax support
Merge pull request #2 from yakubova/editor

Add ajax support