Fixing js bug when french is enabled https://github.com/inboundnow/leads/issues/69