[TASK] Migrate opendocs JS to jQuery