partially implemented wrapper for trips in javascript

I've only partially implemented the wrappers as the title suggests. I was in the midst of testing the changes I made when you told me to check in the changes. The code to pull the information from the database is complete and only the wrapper remains. Implementing the wrapper mainly involves storing variables in the json object to the variables in the wrapper object.