Added handling plugin js