fix: JS API internal constant name