add release_dir to JS ENV hash