Correcting plugin JavaScript path