[FIX] Typing spaces in Ace Editor results in special characters

http://stackoverflow.com/questions/17108641/typing-spaces-in-ace-editor-results-in-special-characters