adding guide layout, adding guide highlighting in js