my bad in js part of plugin