Stub plugin js