JS cleanup.