vendor javascript and new layout