The JS error was caused by some additional code I put in and has now been fixed. Just to double check I also commented out all of my custom code, but unfortunately I am still seeing a black screen when I try to add a topic.
Thanks for the suggestion though!