add javascrit in dependency injection