First pass at a wrapper for the Google Analytics js api