Bugfix: update javascript to match name change