Using prototypes to store methods efficiently and consuming JSON data asynchronously from web services.