Update bar-only.html

Remove unused function