facebook api with javascript singleton login, get and search in feed page