added in contacts javascript. Still needs to refactored into the contact app.