[javascript] Checking if jquery is loaded using Javascript