What webpage/URL were you accessing when you received the error? What were you doing, or what call were you making?
Check your browsers console for errors. My guess is that you did not set your application ID, and application ID is required to make any SDK calls. You can get your application ID from your user page.