Added support for knockout v2.3 and v3.0