Library for easily implementing Design By Contract for Javascript libraries