Pipeable javascript