js file api bindings for knockout