Only expose JavaScript interfaces if they are not already exposed