deleting current JS class details