removed unused javascript, added licence file