Common JS API: core module fix for params handling