Added javascripts and backbone also added some logging features