isolated js parts from the global namespace