Hi, As my husband's grandmother's maiden name was Thewlis I had a look on the family tree but she was a descendent of Titus Thewlis who lived in Huddersfield I have had a look on Findmypast.co.uk; you may have this information already or it may not be what you are looking for.
Baptism Jonathan Thewlis 30/03/1795 Holmfirth. Birthplace Almondbury Wesleyan Meth, Father James of Scholes, Mother Nancy. Parish of Kirkburton.
Initially, I had a look for Joshua in the 1841 without success. Then looked in the 1851 Census and found a Joshua aged 58 1793 Birthplace Cartworth and a wool dyer living at Spring Grove Upperthong Huddersfield. He was living with his wife Esther, daughter Mary and son Tom. Grandson Jonathan and Lodger Hannah Langley. What is interesting is that the Grandson is named Jonathan.
I did find this Joshua in the 1841 Census, but the spelling was Thewles.
Joshua is aged 45 1796 born Yorkshire. Living Prickleton Street Almondbury Upperthong with his wife Esther 50 1791, son John 15 1826, daughter Mary 12 1829, son Tom 10 1831, father John 75 1766 and Eli Sanderson 20 1821.
I did find a marriage earlier for Joshua Thewlis 15/09/1822 to Esther Sanderson at Almondbury.
Hope you are successful.