added browserified tests and karma
added browserified tests and karma