Please add a wgCurRevisionTimestamp to the mw.config set of variables as it would be more efficient than an API call just for that information and is a fairly frequently used piece of information (when attempting to avoid edit conflict issues.
See Also:
T21276: Make last modified timestamp on page views machine-readable