refactor ace editor setup
clear ace selection in #setEditorContent
add webcam animation example