Fix karma test + generate site