Fix the javascript api to use getTitle and setTitle instead of getText and setText on a marker