js: fix name collision