add cut and paste navi bar in js