remove deprecated javascript code