Star Wars API JavaScript wrapper