Use constant name in js files too