Fixing js variable export.