small refactor. do not handle edit click by js
Merge branch 'master' of https://github.com/javigzz/MediaLinker