fixing bug #5437 by removing obsolete code
fixing bug #5190 by using javascript promises (thanks YoCha)
Merge branch 'ney-bugs-faq' into components-5.14.x