simplify picture selection, add ajax uploading
make ajax possible