Fix for plugin js