js: hide last task if it is empty and not done
Show message if no BT connection available; fixes #23