Fixed lint problems and configured Karma to use Phantom