removal of obsolete js