Improved code
Removed unused libraries from Karma configuration