change over the rest of js.lang to use const
