refactor(js): remove old code