Jux: Automatically show toolbar buttons depending on selected items in table views

This pull request allows to have a much cleaner toolbar for all table views. It also fixes a few Javascript loading orderings.