Api version

Fixed the problem with missing api version in calls to API (for request-pages).  Also integrated the pure javascript version of the cmm-request-pages javascript (as opposed to the version which was written in coffeescript).