move use of const in lang to be JS param