[package ui] Fix command checks interface behavior

This was a pain (and ugly) fix because javascript code does too much back and forth from one script.

So please next time, STOP BEING TWISTED IN YOUR FUTURE PHP/JAVASCRIPT CODING

barely fixes #1928
[deploy] make more explicit some strings