js api: some functions return the object holder (when it makes sense)
svm  C++: takes milliseconds as a stopping condition. Javascript API time limit units remain seconds.