Merge pull request #3 from amire80/amir-ced

Use .text for contenteditable and check for it using .is()
Advance the cursor after a non-replacement in ced test
Fix whitespace and remove unnecessary assignment