check for the availabilty of chrome apis
Merge pull request #3048 from devoncarew/devoncarew_check_apis

check for the availabilty of chrome apis