blocking wrong javascript calls