pipeline based on js location