Adding support for OCS v2.5.3. Avoid 'addJavaScript' missing method error