Is there a difference in the object model between InDesignCS4 and InDesignCS4ME?
If there is, how can I tell with JS which version of ID the user is running?
No. AFAIK, there's no diff. between the object models in CS4/CS5.
If you need to know if it's the ME version for some reason, you can
check for the existence of the Reverse Layout menu item...