Correct plugin js