check if admin bar is showing before enqueueing scripts. props @kingkool68