compiler: java: cleaning up const support
compiler: py: const support
compiler: js: const support