started npm integration and karma test bed