This is an example for how to use prototyping and inheritance in javascript
Example using AJAX call for community education