Using JavaScript, is there a way to get the version of the document being edited when you have a topic open in Create?

Using JavaScript, is there a way to get the version of the document being edited when you have a topic open in Create? We have code that requires the topic version.