Top bar 'gestione ticket' and 'storico' buttons added, modified and corrected javascript