I get this error why I try to call the function. "Uncaught TypeError: Cannot call method 'isTwitterAvailable' of underfined"