Little javascript bugfix

Improved labels