The judge of said state court shall have power and authority to hear and determine all civil causes of which the said court has jurisdiction, and to give judgment and execution thereon without the intervention of a jury; provided always, that either party in any cause shall be entitled to a trial by jury in said court upon entering a demand therefor, by himself or his attorney, in writing, before the close of the term to which the cause is returnable, in all cases where such party is entitled to a trial by jury under the constitution and laws of this state.