Skip to content
  • Home
  • Services
    • Business Blogging
    • Paid Advertising
    • SEO Services
    • Social Media Management
    • Website Design
  • About
  • Blog

Bridget Winfrey Marketing

Where Small Business Become Big Online

Author: Bridget Winfrey

Stash Investing – Free $20 with my referral link!

Posted on February 9, 2022February 9, 2022 by Bridget Winfrey

https://get.stash.com/bridgetxohov Stash will give both you and me $20 when you sign up. You start with as little as $5,… Read more Stash Investing – Free $20 with my referral link!

The most solid resons why you should make an investment in yourself

Posted on February 6, 2022February 6, 2022 by Bridget Winfrey

Originally posted on The hub for collaborative minds and people willing to push beyond their limits:
https://bridgetwinfrey.com/wp-content/uploads/2022/02/images288029.jpeg Yes the greatest investment is in an investment yourself . If you want to improve…

5 Tips for Staying Safe in Cold Weather!

Posted on February 4, 2022 by Bridget Winfrey

What’s the Purpose?

Posted on February 1, 2022 by Bridget Winfrey

As our world continuesly evolves and changes, the digital landscape has reached further and further into new horizons. We are… Read more What’s the Purpose?

Posts navigation

Newer posts
<!-- James Monroe Homes — Website Chat Widget: paste before </body> on every page -->
<script>
/* ============================================================
James Monroe Homes — Website Chat Widget (production file)
Paste this file's contents inside a SCRIPT element placed just
before the closing BODY tag on jamesmonroehomes.com, OR host
this file and load it with a script tag whose src points at
this file, with the defer attribute.
(Tag names above are spelled out in words, never written as
real markup, on purpose: if this code is pasted inline and the
file itself contained a real closing script tag — even inside
this comment — the browser would end the script right there
and print the rest of the code on the page as plain text
instead of running it as a chat widget.)
CONFIG: FORM_ENDPOINT below is set to the Zapier webhook, so
callback requests, sales-form sends, and transcripts post
there silently in the background (no email window opening
for the visitor). The Zapier workflow emails each one to
james@jmhsalesteam.com plus the sales rep for the visitor's
community, and to the customer only when they request a
copy. If FORM_ENDPOINT is ever cleared, sends fall back to
opening a pre-addressed email to the team.
TRANSCRIPT ROUTING: every chat transcript goes to the sales
rep for the visitor's community (Eastgate / move-in ready ->
Alicia Saunders, alicia@jamesmonroehomes.com; Boone's Crossing /
Harper Woods -> Kristin Murrow, kristin@jamesmonroehomes.com),
always to james@jmhsalesteam.com, and to the customer only
when they request a copy. Each endpoint submission carries
"to" and "cc" fields with those recipients.
WARRANTY: the chat's Warranty form posts to the same endpoint
with type "warranty_request" and "to" set to
warranty@jamesmonroehomes.com ONLY — never james@, never a rep.
RENTALS: rental questions are never collected in the chat —
the visitor simply gets JCM Properties' phone number, kept
in the single RENTAL_PHONE constant below. If that number
ever changes, edit that one line only.
PRICING: the chat never quotes a price, not even a "from"
price — price questions get a link to the home's page on the
website, where all pricing is published.
LOGO: the header shows the JMH logo. The widget loads
"jmh-logo-mark.png" from the same folder this script is
hosted in (falling back to the page's folder when the widget
is pasted inline) — host that file next to this script, or
paste its full URL into LOGO_URL below.
============================================================ */
(function () {
"use strict";
var TEAM_EMAIL = "james@jmhsalesteam.com";
var FORM_ENDPOINT = "https://hooks.zapier.com/hooks/catch/13753209/PUdlOO9Y5bPHcAjG/"; // Zapier webhook — transcripts, callback requests & sales-form sends post here automatically; the Zapier workflow emails james@jmhsalesteam.com + the community's sales rep (and the customer only when they request a copy)
var EMERGENCY = "859-629-2962";
var WARRANTY_EMAIL = "warranty@jamesmonroehomes.com";
var RENTAL_PHONE = "(859) 785-8665"; // <<< JCM Properties rental number — the ONE place to change it. Rental questions get this number; the chat collects nothing for rentals.
var LOGO_URL = "";
try{ if(!LOGO_URL && document.currentScript && document.currentScript.src) LOGO_URL = document.currentScript.src.replace(/[^\/]*(\?.*)?$/, "") + "jmh-logo-mark.png"; }catch(e){}
if(!LOGO_URL) LOGO_URL = "jmh-logo-mark.png";
var BLUE = "#104c9d", DARK = "#0b3875";
/* ---------- Hours: Mon–Sun 8:30 AM–4:30 PM America/New_York ---------- */
function etNow(){ return new Date(new Date().toLocaleString("en-US",{timeZone:"America/New_York"})); }
function isOpen(){ var n=etNow(); var m=n.getHours()*60+n.getMinutes(); return m>=510 && m<990; }
function fmt(d){ var h=d.getHours(),m=d.getMinutes(),ap=h>=12?"PM":"AM"; h=h%12||12; return h+":"+("0"+m).slice(-2)+" "+ap; }
function hoursBlurb(){ return isOpen()
? "We're in business hours right now (Mon\u2013Sun, 8:30 AM\u20134:30 PM ET), so someone will reach out to you shortly."
: "We're currently outside business hours (Mon\u2013Sun, 8:30 AM\u20134:30 PM ET), so we'll get back to you during our next scheduled business hours."; }
/* ---------- Transcript routing: rep for the community + james@ always ---------- */
var REPS = {
alicia: {name:"Alicia Saunders", email:"alicia@jamesmonroehomes.com"},
kristin: {name:"Kristin Murrow", email:"kristin@jamesmonroehomes.com"}
};
var chatCommunity = "", mirInterest = false;
function repForCommunity(comm){
var c=(comm||"").toLowerCase();
if(c.indexOf("eastgate")>-1) return {rep:REPS.alicia, label:"Eastgate"};
if(c.indexOf("boone")>-1) return {rep:REPS.kristin, label:"Boone's Crossing"};
if(c.indexOf("harper")>-1) return {rep:REPS.kristin, label:"Harper Woods"};
return null;
}
function currentRouting(){
var byComm = repForCommunity(visitor.community || chatCommunity);
if(byComm) return byComm;
if(mirInterest) return {rep:REPS.alicia, label:"Move-in ready homes"};
return {rep:REPS.kristin, label:"your community"};
}
function teamRecipients(){ var r=currentRouting(); return {rep:r.rep, label:r.label, to:[TEAM_EMAIL, r.rep.email]}; }
function noteCommunityFromText(text){
var s=(text||"").toLowerCase();
if(s.indexOf("eastgate")>-1) chatCommunity="Eastgate \u2014 Nicholasville";
else if(s.indexOf("boone")>-1) chatCommunity="Boone's Crossing \u2014 Winchester";
else if(s.indexOf("harper")>-1) chatCommunity="Harper Woods \u2014 Lexington";
if(s.indexOf("move in ready")>-1 || s.indexOf("move-in")>-1 || s.indexOf("quick move")>-1) mirInterest=true;
}
function mailtoHref(subject, body, includeCustomer){
var r=teamRecipients();
var href="mailto:"+r.to.join(",")+"?subject="+encodeURIComponent(subject);
if(includeCustomer && visitor.email) href+="&cc="+encodeURIComponent(visitor.email);
href+="&body="+encodeURIComponent(body);
return href;
}
/* ---------- Sending (endpoint if configured, else pre-addressed email) ---------- */
var transcript = [], visitor = {};
function transcriptText(){ return transcript.map(function(l){ return "["+l.time+"] "+l.who+": "+l.text; }).join("\n"); }
function emailBody(intro){
var r=teamRecipients();
var L=[intro,"","Transcript recipients: "+r.rep.name+" ("+r.rep.email+") \u2014 sales rep for "+r.label+" \u00B7 "+TEAM_EMAIL,""];
if(visitor.name){ L.push("Visitor: "+visitor.name,"First name: "+(visitor.firstName||""),"Last name: "+(visitor.lastName||""),"Phone: "+visitor.phone,"Email: "+(visitor.email||"(not given)"),"Community: "+(visitor.community||chatCommunity||"Not specified"),""); }
L.push("\u2014 Chat transcript \u2014", transcriptText()); return L.join("\n");
}
function sendEmail(subject, body, includeCustomer){
var r=teamRecipients();
if(FORM_ENDPOINT){
try{ fetch(FORM_ENDPOINT,{method:"POST",headers:{"Content-Type":"application/json","Accept":"application/json"},
body:JSON.stringify({email:visitor.email||"", subject:subject, message:body, _replyto:visitor.email||undefined,
to:r.to.join(", "), cc:(includeCustomer && visitor.email) ? visitor.email : "",
sales_rep:r.rep.name+" <"+r.rep.email+">", community:r.label,
customer_copy_requested: !!(includeCustomer && visitor.email)})}).catch(function(){}); }catch(e){}
return true; // silent
}
var a=document.createElement("a");
a.href=mailtoHref(subject, body, includeCustomer);
a.style.display="none"; document.body.appendChild(a); a.click(); a.remove();
return false;
}
/* ---------- Styles ---------- */
var css = ""
+"#jmhw-launcher{position:fixed;right:20px;bottom:20px;z-index:99999;display:flex;align-items:center;gap:9px;background:"+BLUE+";color:#fff;border:0;border-radius:999px;padding:13px 20px;font:700 15px Arial,Helvetica,sans-serif;cursor:pointer;box-shadow:0 10px 28px rgba(16,76,157,.45);max-width:calc(100vw - 24px)}"
+"#jmhw-launcher:hover{background:"+DARK+"}"
+"#jmhw-panel{position:fixed;right:20px;bottom:20px;z-index:100000;width:min(392px,calc(100vw - 24px));height:min(620px,calc(100dvh - 40px));background:#fff;border-radius:16px;box-shadow:0 24px 60px rgba(8,30,64,.35);display:none;flex-direction:column;overflow:hidden;border:1px solid #c9d4e4;font-family:Arial,Helvetica,sans-serif}"
+"#jmhw-panel.open{display:flex}"
+".jmhw-head{background:"+BLUE+";color:#fff;padding:14px 16px 12px}"
+".jmhw-head .r{display:flex;align-items:flex-start;gap:11px}"
+".jmhw-av{width:42px;height:42px;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;flex:none;overflow:hidden;padding:3px;box-sizing:border-box}"
+".jmhw-av img{width:100%;height:100%;object-fit:contain;display:block}"
+".jmhw-head h3{margin:0;font-size:16px;line-height:1.25}"
+".jmhw-status{font-size:12px;color:#cfe0f6;margin-top:2px}"
+".jmhw-hb{margin-left:auto;display:flex;gap:4px}"
+".jmhw-hb button{background:rgba(255,255,255,.14);border:0;color:#fff;width:32px;height:32px;border-radius:8px;cursor:pointer;font-size:14px}"
+".jmhw-consent{background:"+BLUE+";color:#fff;font-size:11.5px;line-height:1.45;padding:8px 16px 12px;border-top:1px solid rgba(255,255,255,.22)}"
+"#jmhw-msgs{flex:1;overflow-y:auto;padding:16px 14px;background:#f7f9fc;display:flex;flex-direction:column;gap:10px}"
+".jmhw-m{max-width:86%;padding:10px 13px;border-radius:14px;font-size:14px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}"
+".jmhw-m.bot{background:#fff;color:#000;border:1px solid #dde3ea;border-bottom-left-radius:4px;align-self:flex-start}"
+".jmhw-m.user{background:"+BLUE+";color:#fff;border-bottom-right-radius:4px;align-self:flex-end}"
+".jmhw-m .t{display:block;font-size:10.5px;opacity:.55;margin-top:5px}"
+"#jmhw-chips{display:flex;gap:7px;flex-wrap:wrap;padding:9px 12px;background:#f7f9fc;border-top:1px solid #e6ebf2}"
+"#jmhw-chips button{border:1.5px solid "+BLUE+";background:#fff;color:"+BLUE+";font:600 12.5px Arial,sans-serif;border-radius:999px;padding:6px 11px;cursor:pointer}"
+"#jmhw-chips button:hover{background:"+BLUE+";color:#fff}"
+".jmhw-form{background:#fff;border:1.5px solid "+BLUE+";border-radius:12px;padding:14px;align-self:stretch}"
+".jmhw-form h4{margin:0 0 4px;font-size:14px;color:"+DARK+"}"
+".jmhw-form p{margin:0 0 6px;font-size:12.5px;color:#5a6572}"
+".jmhw-form label{display:block;font-size:12px;font-weight:700;margin:9px 0 4px;color:#222}"
+".jmhw-form input,.jmhw-form select,.jmhw-form textarea{width:100%;padding:9px 10px;border:1px solid #b9c6d8;border-radius:8px;font:14px Arial,sans-serif;background:#fff;color:#000;box-sizing:border-box}"
+".jmhw-form textarea{resize:vertical;min-height:74px}"
+".jmhw-m a{color:"+BLUE+";font-weight:600}"
+".jmhw-m.user a{color:#fff}"
+".jmhw-form .cm{background:"+BLUE+";color:#fff;font-size:11px;line-height:1.45;border-radius:8px;padding:8px 10px;margin-top:12px}"
+".jmhw-form .sub{width:100%;margin-top:10px;background:"+BLUE+";color:#fff;border:0;border-radius:8px;padding:11px;font:700 14px Arial,sans-serif;cursor:pointer}"
+".jmhw-form .err{color:#b3261e;font-size:12px;margin-top:6px;display:none}"
+".jmhw-end{background:#e8eff9;border:1px solid #c9d9f2;border-radius:12px;padding:14px;font-size:13.5px;align-self:stretch}"
+".jmhw-end h4{margin:0 0 6px;color:"+DARK+";font-size:14px}"
+".jmhw-end a,.jmhw-end button{display:inline-block;margin:8px 6px 0 0;background:"+BLUE+";color:#fff;border:0;border-radius:8px;padding:9px 13px;font:700 13px Arial,sans-serif;cursor:pointer;text-decoration:none}"
+".jmhw-end input{display:block;width:100%;box-sizing:border-box;margin-top:10px;padding:9px 10px;border:1px solid #b9c6d8;border-radius:8px;font:13.5px Arial,sans-serif;background:#fff;color:#000}"
+".jmhw-end .cn{margin-top:8px;color:#5a6572;font-size:12.5px}"
+".jmhw-bar{display:flex;gap:8px;padding:10px 12px;background:#fff;border-top:1px solid #dde3ea}"
+"#jmhw-in{flex:1;border:1px solid #b9c6d8;border-radius:999px;padding:11px 16px;font:14.5px Arial,sans-serif;color:#000;min-width:0}"
+"#jmhw-go{background:"+BLUE+";color:#fff;border:0;border-radius:999px;padding:0 18px;font:700 14px Arial,sans-serif;cursor:pointer}"
+".jmhw-foot{background:#fff;padding:0 12px 9px;font-size:11px;color:#5a6572;display:flex;justify-content:flex-end}"
+".jmhw-foot button{background:none;border:0;color:"+BLUE+";font:700 11px Arial,sans-serif;cursor:pointer;padding:0}";
var st=document.createElement("style"); st.textContent=css; document.head.appendChild(st);
/* ---------- DOM ---------- */
var launcher=document.createElement("button");
launcher.id="jmhw-launcher"; launcher.textContent="\uD83D\uDCAC Chat with us";
launcher.setAttribute("aria-label","Open chat with James Monroe Homes");
document.body.appendChild(launcher);
var panel=document.createElement("div"); panel.id="jmhw-panel"; panel.setAttribute("role","dialog");
panel.innerHTML =
'<div class="jmhw-head"><div class="r"><div class="jmhw-av"><img src="'+LOGO_URL+'" alt="James Monroe Homes logo"></div><div><h3>James Monroe Homes</h3><div class="jmhw-status" id="jmhw-status"></div></div>'
+'<div class="jmhw-hb"><button id="jmhw-endbtn" title="End chat &amp; email transcript">\u2713</button><button id="jmhw-close" title="Close chat">\u2715</button></div></div></div>'
+'<div class="jmhw-consent">By providing your contact information, you are consenting to allow James Monroe Homes to contact you.</div>'
+'<div id="jmhw-msgs"></div><div id="jmhw-chips"></div>'
+'<form class="jmhw-bar" id="jmhw-bar"><input id="jmhw-in" type="text" placeholder="Type your message\u2026" autocomplete="off" aria-label="Type your message"><button id="jmhw-go" type="submit">Send</button></form>'
+'<div class="jmhw-foot"><button type="button" id="jmhw-end2">End chat &amp; email transcript</button></div>';
document.body.appendChild(panel);
var msgs=panel.querySelector("#jmhw-msgs"), chipsBox=panel.querySelector("#jmhw-chips"),
input=panel.querySelector("#jmhw-in"), statusEl=panel.querySelector("#jmhw-status");
var greeted=false, pendingIntent=null;
function refreshStatus(){ statusEl.textContent = isOpen()
? "\u25CF Open now \u00B7 Mon\u2013Sun 8:30 AM\u20134:30 PM ET"
: "\u25CF Outside hours \u00B7 Mon\u2013Sun 8:30 AM\u20134:30 PM ET \u00B7 Leave a message anytime"; }
refreshStatus(); setInterval(refreshStatus,60000);
function linkify(escaped){
return escaped.replace(/(https?:\/\/[^\s<]+)/g,function(u){
var trail="";
while(/[.,;:!?]$/.test(u) || (u.slice(-1)===")" && u.indexOf("(")===-1)){ trail=u.slice(-1)+trail; u=u.slice(0,-1); }
return '<a href="'+u+'" target="_blank" rel="noopener noreferrer">'+u+'</a>'+trail;
});
}
function addMsg(who,text){
var d=document.createElement("div"); d.className="jmhw-m "+who;
var body=document.createElement("span");
body.innerHTML=linkify(text.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"));
d.appendChild(body);
var t=document.createElement("span"); t.className="t"; t.textContent=fmt(etNow()); d.appendChild(t);
msgs.appendChild(d);
transcript.push({who:who==="bot"?"JMH Assistant":"Visitor", text:text, time:fmt(etNow())});
msgs.scrollTop=msgs.scrollHeight;
}
function botSay(text){ setTimeout(function(){ addMsg("bot",text); }, 450); }
var DEFAULT_CHIPS=["Communities","Move-in ready","Floor plans","Self-guided tours","Talk to a live agent","Warranty"];
function setChips(list){
chipsBox.innerHTML="";
list.forEach(function(c){
var b=document.createElement("button"); b.type="button"; b.textContent=c;
b.addEventListener("click",function(){ handleUser(c); }); chipsBox.appendChild(b);
});
chipsBox.style.display=list.length?"flex":"none";
}
/* ---------- Knowledge base (jamesmonroehomes.com) ---------- */
var KB={
communities:"We build in three Central Kentucky communities right now:\n\n\u2022 Boone's Crossing \u2014 Winchester, KY. A mixed-use community with 13 floor plans.\n\n\u2022 Harper Woods \u2014 Lexington, KY. A gated amenity-rich community built around \u201CLive More, Maintain Less. More time for the little things.\u201D\n\n\u2022 Eastgate \u2014 Nicholasville, KY. We're finishing our final homes there, and it's the one community with move-in ready homes right now.\n\nWant details on one of them? Just name the community.",
boone:"Boone's Crossing is in Winchester, KY \u2014 a mixed-use community with 13 floor plans to choose from.\n\nVisit the Boone's Crossing community page here: https://www.jamesmonroehomes.com/new-homes/kentucky/lexington/winchester/boonescrossing \u2014 there you can see available floor plans, open homesites, and the interactive floor plan.\n\nBoone's Crossing is the only community that offers the Julia, Julia II, Mary, and Mary II plans.\n\nWould you like the full list of its 13 floor plans, or to talk through building from the ground up?",
harper:"Harper Woods is in Lexington, KY. A gated amenity-rich community built around \u201CLive More, Maintain Less. More time for the little things\u201D \u2014 low-maintenance living in a prime Lexington location. Harper Woods offers 9 floor plans: Abigail, Barbara, Eleanor, Elizabeth, Grace, Jackie, Lucy, Martha, and Nancy.\n\nVisit the Harper Woods community page here: https://www.jamesmonroehomes.com/new-homes/kentucky/lexington/lexington/harper-woods \u2014 there you can see available floor plans, open homesites, and the interactive floor plan.\n\nWant me to have our sales team send floor plans and current availability for Harper Woods?",
eastgate:"Eastgate is in Nicholasville, KY. We're in the final phase there \u2014 a small number of homes remain, including move-in ready homes.\n\nEastgate offers 9 floor plans: Abigail, Barbara, Eleanor, Elizabeth, Grace, Jackie, Lucy, Martha, and Nancy.\n\nVisit the Eastgate community page here: https://www.jamesmonroehomes.com/new-homes/kentucky/lexington/nicholasville/eastgate \u2014 there you can see available floor plans, open homesites, and the interactive floor plan.\n\nIf you're interested, I'd recommend a tour soon. Want me to connect you with sales for the current list?",
mir:"Right now, Eastgate in Nicholasville is the only community with move-in ready homes. You can browse them on our website under Find Your Home \u2014 filter to move-in ready homes to see what's available today:\nhttps://www.jamesmonroehomes.com/new-homes/kentucky\n\nYou can also download the Move-In Ready Guide on our site for the current list. Each home's page shows its price, photos, and details.\n\nEastgate's model and showcase homes are open for self-guided tours through NterNow, 7 AM\u20137 PM, 365 days a year \u2014 just look for the orange garage magnets.",
plans:"We offer 13 floor plans at Boone's Crossing, and 9 floor plans each at Harper Woods and Eastgate:\n\n\u2022 Boone's Crossing (13): Abigail, Barbara, Eleanor, Elizabeth, Grace, Jackie, Julia, Julia II, Lucy, Martha, Mary, Mary II, and Nancy. The Julia, Julia II, Mary, and Mary II are offered only at Boone's Crossing.\n\n\u2022 Harper Woods (9): Abigail, Barbara, Eleanor, Elizabeth, Grace, Jackie, Lucy, Martha, and Nancy.\n\n\u2022 Eastgate (9): Abigail, Barbara, Eleanor, Elizabeth, Grace, Jackie, Lucy, Martha, and Nancy.\n\nYou can explore every plan \u2014 layouts, elevations, and the interactive floor plan tool \u2014 on the community pages:\nBoone's Crossing: https://www.jamesmonroehomes.com/new-homes/kentucky/lexington/winchester/boonescrossing\nHarper Woods: https://www.jamesmonroehomes.com/new-homes/kentucky/lexington/lexington/harper-woods\nEastgate: https://www.jamesmonroehomes.com/new-homes/kentucky/lexington/nicholasville/eastgate\n\nTell me what you're looking for (bedrooms, one-story vs. two-story, community) and I can point you to the closest matches.",
pricing:"We don't quote prices here in chat \u2014 all of our pricing is published on our website. Every home and floor plan page shows its price, so for the exact price on a specific home, open that home's page from our Find Your Home page:\nhttps://www.jamesmonroehomes.com/new-homes/kentucky\n\nYou can also visit the community page for the community you're interested in to see its floor plan pricing there.",
tours:"Two easy ways to tour:\n\n1) Self-guided with NterNow \u2014 every model and showcase home is available 7 AM\u20137 PM, 365 days a year. Download the NterNow app, find the home, and let yourself in. Look for the orange garage magnets.\n\n2) Guided tour with a sales consultant \u2014 you book it directly with the sales rep for the community: just call, text, or email them to schedule your appointment.\n\u2022 Eastgate \u2014 Alicia Saunders \u00B7 alicia@jamesmonroehomes.com\n\u2022 Boone's Crossing & Harper Woods \u2014 Kristin Murrow \u00B7 kristin@jamesmonroehomes.com\nOr call our team at 859-629-2962 and we'll point you to the right rep.",
design:"Our Online Design Center lets JMH buyers personalize their home \u2014 finishes, fixtures, colors, and options \u2014 with guidance from our design team.\n\nIf you're still shopping, a sales consultant can walk you through what the design experience looks like for the plan you're considering.",
process:"Here's how building with JMH works:\n\n1) Pick your community, floor plan, and homesite with a sales consultant.\n2) Contract, then make your selections at the Design Center.\n3) We build \u2014 with weekly update calls from your site supervisor.\n4) Walk-throughs and inspections along the way.\n5) Closing and move-in.\n\nWant to talk timing for a specific community?",
timeline:"For a brand-new, to-be-built home, plan on about 5\u20136 months from contract to closing.\n\nFor a move-in ready home, it depends on how far along the home is: if it's finished, you could close in as little as 30 days; a home still under construction can take up to 6 months.\n\nWant today's timing for a specific community or home?",
energy:"Energy efficiency is a JMH signature \u2014 we've specialized in high-performance, energy-efficient homes since 2006, part of why JMH earned an Honorable Mention for the National Housing Quality Award (NHQA).\n\nA sales consultant can share the specific energy features and ratings for any plan you're considering.",
about:"James Monroe Homes has been building in Central Kentucky since 2006 \u2014 more than 20 years of experience, and a homeowner-first reputation.\n\nWe're an award-winning builder: Top 40 Under 40 Professional Builder Award, NHQA Honorable Mention, and multiple BIA of Central Kentucky awards. We're proud members of the BIA and the NAHB.\n\nOur office: 2250 Thunderstick Dr, Suite #1206, Lexington, KY 40505 \u00B7 859-629-2962.",
warranty:"Every JMH home is backed by our warranty program, and our team stays responsive after closing.\n\nFor exact coverage terms on a home you're considering, sales can walk you through them. If you're a current JMH homeowner and need help with something in your home, use the warranty form below \u2014 it goes straight to our warranty team at warranty@jamesmonroehomes.com.",
financing:"The best place to start is our financing page \u2014 it walks through the loan options and is where you can start your pre-approval:\nhttps://www.jamesmonroehomes.com/financing\n\nI can't quote rates here (they change daily), but that page will get your pre-approval started.",
hours:"Our team is available Monday through Sunday, 8:30 AM\u20134:30 PM (Eastern).",
contact:"You can reach James Monroe Homes at 859-629-2962, or by email at james@jmhsalesteam.com. Our office is at 2250 Thunderstick Dr, Suite #1206, Lexington, KY 40505. Team hours are Mon\u2013Sun, 8:30 AM\u20134:30 PM ET.",
realtor:"We love working with Realtors and welcome your buyers in all three communities. For co-op details and to register a client, call 859-629-2962 or I can have someone reach out to you.",
rentals:"Rentals are handled by JCM Properties, separate from James Monroe Homes' new-home sales. You can reach JCM Properties at "+RENTAL_PHONE+" \u2014 they'll be glad to help with rental homes and current availability.",
schools:"School information for each community is published on its community page \u2014 that's the best place to check, since assignments can change:\n\n\u2022 Boone's Crossing: https://www.jamesmonroehomes.com/new-homes/kentucky/lexington/winchester/boonescrossing\n\u2022 Harper Woods: https://www.jamesmonroehomes.com/new-homes/kentucky/lexington/lexington/harper-woods\n\u2022 Eastgate: https://www.jamesmonroehomes.com/new-homes/kentucky/lexington/nicholasville/eastgate\n\nOpen the page for the community you're interested in and you'll find its school details there.",
hoa:"HOA amounts and what's included are published on each community's page \u2014 here they are:\n\n\u2022 Boone's Crossing: https://www.jamesmonroehomes.com/new-homes/kentucky/lexington/winchester/boonescrossing\n\u2022 Harper Woods: https://www.jamesmonroehomes.com/new-homes/kentucky/lexington/lexington/harper-woods\n\u2022 Eastgate: https://www.jamesmonroehomes.com/new-homes/kentucky/lexington/nicholasville/eastgate\n\nOpen the page for the community you're interested in and you'll find its current HOA details there.",
lots:"We build only in our own communities \u2014 we don't build on a buyer's own lot. Right now those communities are Boone's Crossing in Winchester, Harper Woods in Lexington, and Eastgate in Nicholasville, and those are the three we offer.\n\nWant to look at available homesites in one of them?",
emergency:"I can't dispatch emergency help from this chat \u2014 if anyone is in immediate danger, please contact local emergency services (911) right away.\n\nFor anything else urgent with your home, say \u201Ctalk to a live agent\u201D and I'll flag a callback request for our team right away."
};
var SALES={mir:1,timeline:1};
function findIntent(raw){
var s=" "+raw.toLowerCase().replace(/[^a-z0-9\s']/g," ")+" ";
function has(){ for(var i=0;i<arguments.length;i++){ if(s.indexOf(arguments[i])>-1) return true; } return false; }
if(has("emergency","gas leak","flooding","on fire")) return "emergency";
if(has("warranty")) return "warranty";
if(has("live agent","real person","human","talk to someone","speak to someone","call me","call back","callback","representative","sales rep")) return "liveagent";
if(has("boone")) return "boone";
if(has("harper")) return "harper";
if(has("eastgate")) return "eastgate";
if(has("own lot","my lot","your lot","lot i own","land i own","build on my","build on your lot","coming soon","scattered lot")) return "lots";
if(has("communit","where do you build","locations","neighborhood")) return "communities";
if(has("move in ready","move-in","quick move","spec home","available homes","inventory")) return "mir";
if(has("floor plan","floorplan","bedroom","barbara","abigail","lucy","julia","mary","martha","nancy","eleanor","elizabeth","jackie","ranch","two story","two-story","square feet","sq ft")) return "plans";
if(has("price","pricing","cost","how much","starting at","afford")) return "pricing";
if(has("tour","visit","see a home","nternow","nter now","self guided","self-guided","model home","showcase")) return "tours";
if(has("design center","design studio","selections","personalize","finishes")) return "design";
if(has("how long","timeline","take to build","build time")) return "timeline";
if(has("process","how does building work","steps","how it works")) return "process";
if(has("energy","efficient","utility bill","insulation")) return "energy";
if(has("warranty","guarantee")) return "warranty";
if(has("financ","mortgage","loan","pre approv","pre-approv","lender","interest rate","down payment")) return "financing";
if(has("hour","when are you open","are you open","business hours")) return "hours";
if(has("phone","email","address","contact","office")) return "contact";
if(has("realtor","real estate agent","broker","commission")) return "realtor";
if(has("rent","rental","lease")) return "rentals";
if(has("school")) return "schools";
if(has("hoa","homeowners association","dues")) return "hoa";
if(has("about","who are you","award","bia","nahb","since when")) return "about";
if(has("thank","bye","goodbye")) return "bye";
if(has("hello","hey","good morning","good afternoon")) return "greet";
return "fallback";
}
/* ---------- Contact form: only for true sales inquiries ---------- */
function showContactForm(reason){
var card=document.createElement("div"); card.className="jmhw-form";
card.innerHTML="<h4></h4><p></p>"
+'<label>First name *</label><input type="text" class="f-first" autocomplete="given-name" placeholder="Jane">'
+'<label>Last name *</label><input type="text" class="f-last" autocomplete="family-name" placeholder="Smith">'
+'<label>Email *</label><input type="email" class="f-email" autocomplete="email" placeholder="jane@email.com">'
+'<label>Phone *</label><input type="tel" class="f-phone" autocomplete="tel" placeholder="(859) 555-0123">'
+'<div class="cm">By providing your phone number, you are agreeing to receive text messages from James Monroe Homes. By providing your contact information, you are consenting to allow James Monroe Homes to contact you.</div>'
+'<label>Community of interest *</label><select class="f-comm"><option>Boone\'s Crossing \u2014 Winchester</option><option>Eastgate \u2014 Nicholasville</option><option>Harper Woods \u2014 Lexington</option></select>'
+'<div class="err"></div><button type="button" class="sub"></button>';
card.querySelector("h4").textContent = reason==="callback" ? "Request a callback" : "Connect with our sales team";
card.querySelector("p").textContent = (reason==="callback"
? "Fill this in and your request \u2014 with this chat transcript \u2014 goes to "+TEAM_EMAIL+" and to the sales rep for the community you choose below. "
: "Share your details and a JMH sales consultant will follow up. This chat transcript goes to "+TEAM_EMAIL+" and to the sales rep for the community you choose below. ") + hoursBlurb();
card.querySelector(".sub").textContent = reason==="callback" ? "Request my callback" : "Send to sales team";
if(chatCommunity){ var sel=card.querySelector(".f-comm"); for(var i=0;i<sel.options.length;i++){ if(sel.options[i].text===chatCommunity){ sel.selectedIndex=i; break; } } }
msgs.appendChild(card); msgs.scrollTop=msgs.scrollHeight;
card.querySelector(".sub").addEventListener("click",function(){
var first=card.querySelector(".f-first").value.trim(),
last=card.querySelector(".f-last").value.trim(),
email=card.querySelector(".f-email").value.trim(),
phone=card.querySelector(".f-phone").value.trim(),
comm=card.querySelector(".f-comm").value,
err=card.querySelector(".err");
if(!first || !last || email.indexOf("@")<1 || phone.replace(/\D/g,"").length<7){ err.style.display="block"; err.textContent="Please add your first and last name, a valid email, and a phone number so we can reach you."; return; }
var name=first+" "+last;
visitor={name:name,firstName:first,lastName:last,phone:phone,email:email,community:comm};
if(comm) chatCommunity=comm;
var route=teamRecipients();
card.remove();
addMsg("user","(Shared contact details \u2014 interested in "+comm+")");
transcript.push({who:"System",text:"Contact info \u2014 First name: "+first+" | Last name: "+last+" | Email: "+email+" | Phone: "+phone+" | Community: "+comm,time:fmt(etNow())});
var silent = sendEmail(reason==="callback"?"CALLBACK REQUEST \u2014 website chat":"Sales inquiry \u2014 website chat",
emailBody(reason==="callback"?"A website visitor requested a callback from the chat.":"A website visitor asked to be connected with sales from the chat."));
botSay("Thank you, "+first+(silent?" \u2014 your request has been sent to "+route.rep.name+" ("+route.rep.email+"), the sales rep for "+route.label+", and to our team at "+TEAM_EMAIL+".":" \u2014 I've opened a pre-addressed email to "+route.rep.name+" ("+route.rep.email+"), the sales rep for "+route.label+", and to our team at "+TEAM_EMAIL+"; just press send and it's on its way.")+"\n\n"+hoursBlurb());
setChips(DEFAULT_CHIPS); pendingIntent=null;
});
}
/* ---------- Warranty form: goes straight to warranty@, never sales ---------- */
function sendWarranty(subject, body, wname, wneed){
if(FORM_ENDPOINT){
try{ fetch(FORM_ENDPOINT,{method:"POST",headers:{"Content-Type":"application/json","Accept":"application/json"},
body:JSON.stringify({type:"warranty_request", email:visitor.email||"", subject:subject, message:body,
to:WARRANTY_EMAIL, warranty_name:wname, warranty_need:wneed})}).catch(function(){}); }catch(e){}
return true; // sent automatically through the Zapier webhook, addressed to warranty@ only
}
var a=document.createElement("a");
a.href="mailto:"+WARRANTY_EMAIL+"?subject="+encodeURIComponent(subject)+"&body="+encodeURIComponent(body);
a.style.display="none"; document.body.appendChild(a); a.click(); a.remove();
return false;
}
function showWarrantyForm(){
var card=document.createElement("div"); card.className="jmhw-form";
card.innerHTML="<h4>Warranty request</h4>"
+"<p>This goes straight to our warranty team at "+WARRANTY_EMAIL+" \u2014 not to sales. Tell us your name and what you need help with, and they'll take it from there.</p>"
+'<label>Your name *</label><input type="text" class="w-name" autocomplete="name" placeholder="Jane Smith">'
+'<label>What do you need help with? *</label><textarea class="w-need" placeholder="Tell us about the issue in your home\u2026"></textarea>'
+'<div class="err"></div><button type="button" class="sub">Send warranty request</button>';
msgs.appendChild(card); msgs.scrollTop=msgs.scrollHeight;
card.querySelector(".sub").addEventListener("click",function(){
var wname=card.querySelector(".w-name").value.trim(),
wneed=card.querySelector(".w-need").value.trim(),
err=card.querySelector(".err");
if(!wname || !wneed){ err.style.display="block"; err.textContent="Please add your name and a few words about what you need help with."; return; }
transcript.push({who:"System",text:"Warranty request submitted \u2014 Name: "+wname+" | Needs help with: "+wneed+" | Sent to: "+WARRANTY_EMAIL,time:fmt(etNow())});
card.remove();
addMsg("user","(Warranty request: "+wneed+")");
var wbody="A James Monroe Homes homeowner submitted a warranty request from the website chat.\n\nName: "+wname+"\nNeeds help with: "+wneed+"\n\n\u2014 Chat transcript \u2014\n"+transcriptText();
var silentW = sendWarranty("Warranty request \u2014 website chat", wbody, wname, wneed);
botSay("Thank you, "+wname.split(" ")[0]+(silentW?" \u2014 your warranty request has been sent straight to our warranty team at "+WARRANTY_EMAIL+". They'll review it and follow up with you.":" \u2014 I've opened a pre-addressed email to our warranty team at "+WARRANTY_EMAIL+" with your request; just press send in that email window and it's on its way.")+"\n\nAnything else I can help with?");
setChips(DEFAULT_CHIPS);
});
}
function endChat(){
if(!transcript.length){ botSay("We haven't chatted yet \u2014 ask me anything about our communities, homes, or the building process!"); return; }
var r=teamRecipients();
transcript.push({who:"System",text:"Visitor ended the chat. Transcript packaged for "+r.rep.name+" ("+r.rep.email+"), sales rep for "+r.label+", and "+TEAM_EMAIL+(visitor.email ? ". The visitor can also request a copy to "+visitor.email+"." : "."),time:fmt(etNow())});
var card=document.createElement("div"); card.className="jmhw-end";
card.innerHTML="<h4>Thanks for chatting with James Monroe Homes!</h4>Send the full transcript of this chat to <b>"+r.rep.name+"</b> \u2014 the sales rep for "+r.label+" \u2014 at <b>"+r.rep.email+"</b>, and to our team at <b>"+TEAM_EMAIL+"</b>:<br>"
+'<button type="button" id="jmhw-mail">\u2709\uFE0F Email transcript to JMH</button>'
+(visitor.email ? '<button type="button" id="jmhw-copy">\u2709\uFE0F Email me a copy too</button><div class="cn">Want the transcript yourself? Use \u201CEmail me a copy too\u201D and it will also be sent to '+visitor.email+'.</div>' : '<input id="jmhw-copyemail" type="email" placeholder="Your email \u2014 for your copy" aria-label="Your email for a copy of the transcript"><button type="button" id="jmhw-copybtn">Email me a copy</button><div class="cn" id="jmhw-copynote">Only the JMH recipients above get the transcript unless you request a copy for yourself.</div>')
+'<button type="button" id="jmhw-dl">\u2B07 Download transcript</button>'
+'<button type="button" id="jmhw-new">Start a new chat</button>'
+'<div style="margin-top:8px;color:#5a6572">Need us sooner? Call <b>'+EMERGENCY+'</b> (Mon\u2013Sun, 8:30 AM\u20134:30 PM ET).</div>';
card.querySelector("#jmhw-mail").addEventListener("click",function(){
var mailBtn=card.querySelector("#jmhw-mail");
var silentMail = sendEmail("Chat transcript \u2014 jamesmonroehomes.com", emailBody("Full transcript of a completed website chat."), false);
if(silentMail){ mailBtn.textContent="\u2713 Transcript sent"; mailBtn.disabled=true; }
});
if(visitor.email){
card.querySelector("#jmhw-copy").addEventListener("click",function(){
var copyBtn=card.querySelector("#jmhw-copy");
var silentCopyBtn = sendEmail("Chat transcript \u2014 jamesmonroehomes.com", emailBody("Full transcript of a completed website chat. The visitor requested a copy of this transcript."), true);
if(silentCopyBtn){ copyBtn.textContent="\u2713 Copy sent"; copyBtn.disabled=true; }
});
} else {
card.querySelector("#jmhw-copybtn").addEventListener("click",function(){
var em=card.querySelector("#jmhw-copyemail"), note=card.querySelector("#jmhw-copynote"), v=em.value.trim();
if(!v || v.indexOf("@")<1){ note.textContent="Please enter a valid email address for your copy."; return; }
visitor.email=v;
transcript.push({who:"System",text:"Visitor requested a copy of the transcript to "+v+".",time:fmt(etNow())});
var silentCopy = sendEmail("Chat transcript \u2014 jamesmonroehomes.com", emailBody("Full transcript of a completed website chat. The visitor requested a copy of this transcript."), true);
note.textContent = silentCopy ? "Done \u2014 your copy is on its way to "+v+"." : "Done \u2014 a copy is addressed to "+v+" as well. Just press send in the email window that opened.";
});
}
card.querySelector("#jmhw-dl").addEventListener("click",function(){
var blob=new Blob(["James Monroe Homes \u2014 website chat transcript\n\n"+emailBody("Full transcript of a completed website chat.")],{type:"text/plain"});
var u=URL.createObjectURL(blob), a=document.createElement("a"); a.href=u; a.download="jmh-chat-transcript.txt"; a.click();
setTimeout(function(){ URL.revokeObjectURL(u); },2000);
});
card.querySelector("#jmhw-new").addEventListener("click",function(){ msgs.innerHTML=""; transcript=[]; visitor={}; chatCommunity=""; mirInterest=false; greeted=false; greet(); });
msgs.appendChild(card); msgs.scrollTop=msgs.scrollHeight;
}
function respond(text){
noteCommunityFromText(text);
var intent=findIntent(text);
if(intent==="liveagent"){
if(visitor.name){ sendEmail("CALLBACK REQUEST \u2014 website chat", emailBody("A website visitor (already shared contact info) requested a callback.")); botSay("You're already on our list, "+visitor.name.split(" ")[0]+" \u2014 I've flagged this as a callback request for our team.\n\n"+hoursBlurb()); return; }
botSay("Absolutely \u2014 I'll connect you with a live member of our team.\n\n"+hoursBlurb()+"\n\nSo they can call you back, please provide your first and last name, email and phone number, and your community of interest:");
setTimeout(function(){ showContactForm("callback"); },900); setChips([]); return;
}
if(intent==="warranty"){ botSay(KB.warranty); setTimeout(function(){ showWarrantyForm(); },900); setChips([]); return; }
if(intent==="emergency"){ botSay(KB.emergency); return; }
if(intent==="greet"){ botSay("Hi there! I can tell you about our communities in Winchester, Lexington, and Nicholasville, move-in ready homes, floor plans, tours, and how building with JMH works. What are you looking for?"); return; }
if(intent==="bye"){ botSay("Thanks for stopping by! If you'd like, tap \u201CEnd chat & email transcript\u201D below and this conversation goes to the sales rep for your community and to our team at "+TEAM_EMAIL+" \u2014 you can also request a copy for yourself there. And we're always at "+EMERGENCY+", Mon\u2013Sun 8:30 AM\u20134:30 PM."); return; }
if(intent==="fallback"){ botSay("I want to make sure I get you the right answer on that one. I can help with our communities (Boone's Crossing, Harper Woods, Eastgate), move-in ready homes, floor plans, pricing (all published on our website), self-guided tours, the Design Center, the building process, warranty, and financing.\n\nCould you tell me a little more \u2014 or would you like me to connect you with a live agent?"); setChips(["Talk to a live agent","Communities","Move-in ready"]); return; }
if(intent==="hours"){ botSay(KB.hours+" "+(isOpen()?"We're within business hours right now \u2014 if you'd like a live person, I can request a callback and someone will reach out shortly.":"We're outside business hours at the moment, but leave your details and we'll get back to you during our next business hours. You can also call "+EMERGENCY+".")); return; }
botSay(KB[intent]);
if(SALES[intent] && !visitor.name){
pendingIntent=intent;
setTimeout(function(){
if(!visitor.name && pendingIntent===intent) setChips(["Have sales contact me","Just browsing for now","Communities","Move-in ready","Self-guided tours"]);
},1200);
}
}
function handleUser(text){
text=(text||"").trim(); if(!text) return;
if(text==="Have sales contact me"){ addMsg("user",text); input.value="";
setTimeout(function(){ botSay("Happy to! Please provide your first and last name, email and phone number, and your community of interest \u2014 and I'll pass this whole conversation along so you don't have to repeat yourself."); setTimeout(function(){ showContactForm("sales"); },800); setChips([]); },300); return; }
if(text==="Just browsing for now"){ addMsg("user",text); input.value=""; botSay("No problem at all \u2014 browse away, and I'm here if a question comes up. The self-guided tours are a great no-pressure way to look: NterNow, 7 AM\u20137 PM every day."); setChips(DEFAULT_CHIPS); return; }
if(text==="Talk to a live agent"){ addMsg("user",text); input.value=""; respond("live agent"); return; }
addMsg("user",text); input.value=""; respond(text);
}
function greet(){
if(greeted) return; greeted=true; refreshStatus();
botSay("Hi! \uD83D\uDC4B Welcome to James Monroe Homes \u2014 Central Kentucky's home builder since 2006.\n\nI can answer questions about our communities in Winchester, Lexington, and Nicholasville, move-in ready homes, floor plans, tours, and building with us. What can I help you with today?");
setChips(DEFAULT_CHIPS);
}
launcher.addEventListener("click",function(){ panel.classList.add("open"); launcher.style.display="none"; greet(); });
panel.querySelector("#jmhw-close").addEventListener("click",function(){ panel.classList.remove("open"); launcher.style.display="flex"; });
panel.querySelector("#jmhw-endbtn").addEventListener("click",endChat);
panel.querySelector("#jmhw-end2").addEventListener("click",endChat);
panel.querySelector("#jmhw-bar").addEventListener("submit",function(e){ e.preventDefault(); handleUser(input.value); });
})();
</script>
Create a website or blog at WordPress.com